home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
pcppal.arc
/
SANFRAN.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1987-01-01
|
4KB
|
159 lines
CLEAR
LOCATE 1,0
TRANSMIT "C DIAL"
TRANSMIT S2
TRANSMIT "/"
TRANSMIT S9
TRANSMIT ","
TRANSMIT S8
TRANSMIT "!"
WAITFOR "="
TRANSMIT S7
TRANSMIT "!"
CLEAR
RGET S5
RGET S5
LOCATE 1,0
RGET S5
PAUSE 1
FIND S5 "CONNECT"
IF NOT FOUND
CLEAR
LOCATE 1,0
MESSAGE "THE REMOTE PCP IS BUSY....RETURNING TO THE MAIN MENU"
PAUSE 2
CLEAR
LOCATE 1,0
EXECUTE "INTRO.CMD"
ENDIF
BEGIN:
CLEAR
LOCATE 4,0
MESSAGE " ╔══╡SAN FRANCISCO NUMBERS╞══╗"
MESSAGE " ║ ║"
MESSAGE " ║ 1 - Charsima ║"
MESSAGE " ║ 2 - Log On Unlimited ║"
MESSAGE " ║ 3 - COMM 1 ║"
MESSAGE " ║ 4 - Palladin ║"
MESSAGE " ║ 5 - Transfer Station ║"
MESSAGE " ║ 6 - Insite ║"
MESSAGE " ║ M - Manual Dial ║"
MESSAGE " ║ Q - Return to MAIN menu ║"
MESSAGE " ║ ║"
MESSAGE " ╠═══════════════════════════╣"
MESSAGE " ║ ENTER THE # OF THE BBS OF ║"
MESSAGE " ║ YOUR CHOICE: ║"
MESSAGE " ╚═══════════════════════════╝"
LOCATE 17,40
MESSAGE " "
LOCATE 17,40
GET S5 1
SWITCH S5
CASE "1"
ASSIGN S3 "Charisma"
ASSIGN S4 "3496576"
ENDCASE
CASE "2"
ASSIGN S3 "Log On Unlimited"
ASSIGN S4 "5716911"
ENDCASE
CASE "3"
ASSIGN S3 "Com 1"
ASSIGN S4 "3700411"
ENDCASE
CASE "4"
ASSIGN S3 "Palladin"
ASSIGN S4 "3321655"
ENDCASE
CASE "5"
ASSIGN S3 "Transfer Station"
ASSIGN S4 "8374610"
ENDCASE
CASE "6"
ASSIGN S3 "Insite"
ASSIGN S4 "2290551"
ENDCASE
CASE "M"
CLEAR
LOCATE 5,20
MESSAGE "NUMBER TO DIAL:"
LOCATE 5,36
ASSIGN S3 "MANUAL DIAL"
GET S4
ENDCASE
CASE "Q"
CLEAR
TRANSMIT "!@!"
WAITFOR "@"
TRANSMIT "D!"
WAITFOR "@"
CLEAR
LOCATE 1,0
PAUSE 1
EXECUTE "INTRO.CMD"
ENDCASE
DEFAULT
MESSAGE "^G"
LOCATE 17,40
GOTO BEGIN
ENDCASE
ENDSWITCH
CLEAR
LOCATE 1,0
MESSAGE "CONNECTED TO PCP"
MESSAGE S1
MESSAGE "DIALING"
MESSAGE S3
TRANSMIT "ATZ!"
WAITFOR "OK" 10
TRANSMIT "ATDT"
TRANSMIT S4
TRANSMIT "!"
RGET S0
RGET S0 80 40
RGET S0
PAUSE 2
FIND S0 "BUSY"
IF FOUND
CLEAR
MESSAGE "THE REMOTE PCP IS BUSY....RETURNING TO THE CITY MENU"
PAUSE 2
CLEAR
LOCATE 1,0
GOTO BEGIN
ENDIF
FIND S0 "CONNECT"
IF FOUND
SET PARITY NONE
SET DATABITS 8
ELSE
CLEAR
MESSAGE "THE REMOTE PCP IS BUSY....RETURNING TO THE CITY MENU"
PAUSE 2
CLEAR
LOCATE 1,0
GOTO BEGIN
ENDIF
ALARM 1
EXIT